/**
 * 
 */
package com.fsoft.tinhcd.utils;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

/**
 * @author caodangtinh
 * 
 */
public class HibernateUtils {
	private static SessionFactory sessionFactory;

	public SessionFactory getSessionFactory() {
		sessionFactory = new Configuration().configure().buildSessionFactory();
		return sessionFactory;
	}
}
